home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / games / IndiZone / sw / Spacewar < prev    next >
Encoding:
Text File  |  1994-08-02  |  8.5 KB  |  248 lines

  1. !! local stuff
  2. sw*label*fontList:        -*-helvetica-bold-r-normal-*-14-*
  3. sw*info*fontList:        -*-helvetica-medium-r-normal-*-14-*
  4. sw*XmText.background:        #999999
  5. sw*status*fractionBase:        10
  6. sw*status*rightPosition:    3
  7. sw*weapons*label.labelString:    Weapons:
  8. sw*shields*label.labelString:    Shields:
  9. sw*laser*label.labelString:    Laser:
  10. sw*missile*label.labelString:    Missiles:
  11. sw*thrust*label.labelString:    Thrust:
  12. sw*fuel*label.labelString:    Fuel:
  13. sw*radio*label.labelString:    Radio:
  14. sw*radio*off.labelString:    Off
  15. sw*radio*team.labelString:    Team
  16. sw*radio*all.labelString:    All
  17. sw*sound*label.labelString:    Sound:
  18. sw*sound*off.labelString:    Off
  19. sw*sound*warning.labelString:    Warn
  20. sw*sound*all.labelString:    All
  21. sw*radar*label.labelString:    Radar:
  22. sw*target*label.labelString:    Target:
  23. sw*message*label.labelString:    Messages:
  24. sw*score*label.labelString:    Score:
  25. sw*players*label.labelString:    Players:
  26. sw*flag*label.labelString:    Flag:
  27. sw*pause.labelString:        Pause
  28. sw*help.labelString:        Help
  29. sw*quit.labelString:        Quit
  30. sw*regularName:            Regular
  31. sw*explosionDirectory:        ../data/sw/
  32. sw*soundsDirectory:        ../data/sw/
  33. sw*geometry:            1000x740
  34.  
  35. *uSchemes:             all
  36. *sgiMode            true
  37. !! Inventor stuff
  38. !
  39. !  Application Resource for Inventor (DorianGrey)
  40. !
  41. !
  42.  
  43. !! Inventor specific resources - set them as you please
  44. !! (they are initially commented out here)
  45.  
  46. !!
  47. !! <any color> - can be a name or a hex value
  48. !!      name: red, yellow, salmon, light blue, etc.
  49. !!      hex value: #rrggbb (e.g. #ff00ff is magenta)
  50.  
  51. !!
  52. !! SoXtRenderArea
  53. !!      backgroundColor: <any color>
  54. !!
  55. !*SoXtRenderArea*BackgroundColor: black
  56.  
  57. !!
  58. !! SoXtFullViewer
  59. !!      decoration: on | off
  60. !!      seekAnimationTime: float
  61. !!      seekTo: point | object
  62. !!      seekDistanceUsage: percentage | absolute
  63. !!      zoomMin: float
  64. !!      zoomMax: float
  65. !!      autoClipping: on | off
  66. !!      nearDistance (when autoClipping is off): float
  67. !!      farDistance (when autoClipping is off): float
  68. !!
  69. !*SoXtFullViewer.decoration:            on
  70. !*SoXtFullViewer.seekAnimationTime:     2.0
  71. !*SoXtFullViewer.seekTo:                point
  72. !*SoXtFullViewer.seekDistanceUsage:     percentage
  73. !*SoXtFullViewer.zoomMin:               1.0
  74. !*SoXtFullViewer.zoomMax:               179.0
  75. !*SoXtFullViewer.autoClipping:          on
  76. !*SoXtFullViewer.nearDistance:          2.4
  77. !*SoXtFullViewer.farDistance:           2.8
  78.  
  79. !!
  80. !! SoXtExaminerViewer
  81. !!      spinAnimation: on | off
  82. !!      pointOfRotationAxes: on | off
  83. !!      axesSize (if pointOfRotationAxes is on): short (pixels)
  84. !!
  85. !*SoXtExaminerViewer.spinAnimation:             on
  86. !*SoXtExaminerViewer.pointOfRotationAxes:       off
  87. !*SoXtExaminerViewer.axesSize:                  20
  88.  
  89. !!
  90. !! SoXtColorEditor
  91. !!      wysiwyg: true | false | on | off
  92. !!      colorSliders: none | intensity | rgb | hsv | rgb_v | rgb_hsv
  93. !!      updateFrequency: continuous | manual
  94. !!
  95. !*SoXtColorEditor.wysiwyg:              false
  96. !*SoXtColorEditor.colorSliders:         intensity
  97. !*SoXtColorEditor.updateFrequency:      continuous
  98.  
  99. !!
  100. !! SoXtMaterialEditor
  101. !!      tile1Color: <any color>
  102. !!      tile2Color: <any color>
  103. !!      light1Color: <any color>
  104. !!      light2Color: <any color>
  105. !!      updateFrequency: continuous | manual
  106. !!
  107. !*SoXtMaterialEditor.tile1Color:        #4c4c4c
  108. !*SoXtMaterialEditor.tile2Color:        #999999
  109. !*SoXtMaterialEditor.light1Color:       white
  110. !*SoXtMaterialEditor.light2Color:       white
  111. !*SoXtMaterialEditor.updateFrequency:   continuous
  112.  
  113.  
  114. !!
  115. !! Fonts
  116. !!
  117.  
  118. !! all labels should be bold
  119. *XmLabel*fontList:      -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  120. *XmLabelGadget*fontList:  -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  121. *XmScale*fontList:      -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  122. *XmBulletinBoard*labelFontList: -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  123.  
  124.  
  125. !! all buttons, toggles, and radio buttons should be plain
  126. *XmPushButton*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  127. *XmPushButtonGadget*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  128. *XmIconGadget*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  129. *XmBulletinBoard*buttonFontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  130. *XmToggleButton*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  131. *XmToggleButtonGadget*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  132.  
  133.  
  134. !! menuBar entries, panes, popups, and option menus should be oblique
  135. *menuBar*fontList:      -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  136. *optionMenu*fontList: -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  137. !! for entries in popup menus
  138. *XmMenuShell*XmPushButton*fontList:  -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  139. *XmMenuShell*XmLabelGadget*fontList:    -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  140. *XmMenuShell*XmPushButtonGadget*fontList:  -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  141. *XmMenuShell*XmCascadeButton*fontList: -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  142. *XmMenuShell*XmCascadeButtonGadget*fontList: -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  143. *XmMenuShell*XmToggleButton*fontList: -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  144. *XmMenuShell*XmToggleButtonGadget*fontList: -*-helvetica-bold-o-normal-*-14-*-*-*-*-*-iso8859-1
  145.  
  146.  
  147. *XmList*fontList:  -*-helvetica-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
  148.  
  149.  
  150. !!
  151. !! Text fonts
  152. !!
  153. !! ??? work around sherwood bug 142548 
  154. !! ??? lucidatypewriter font screws Xmtext width, so use another font
  155. !!
  156. !!*XmText.fontList: -*-lucidatypewriter-medium-r-*-*-14-*-*-*-*-*-iso8859-1
  157. !!*XmTextField.fontList: -*-lucidatypewriter-medium-r-*-*-14-*-*-*-*-*-iso8859-1
  158. *XmText.fontList: -*-screen-medium-r-normal-*-15-*-*-*-*-*-iso8859-1
  159. *XmTextField.fontList: -*-screen-medium-r-normal-*-15-*-*-*-*-*-iso8859-1
  160.  
  161.  
  162. !!
  163. !! Spacing stuff, probably belongs in master scheme file
  164. !!
  165.  
  166. !! buttons shouldn't look "cramped"
  167. !! (24 pixels across face from top to bottom and 8 in margin on face)
  168. *XmPushButton*marginHeight:     4
  169. *XmPushButton*marginWidth:      7
  170.  
  171. !! move the text in lists slightly right to improve legibility
  172. *XmList*listMarginWidth:        3
  173.  
  174. !! height of menuBar should be 22 pixels 
  175. *menuBar*marginHeight:  1
  176. *menuBar.marginHeight:  0
  177. *menuBar*marginLeft:    1
  178. *menuBar.spacing:               7
  179. *XmMenuShell*marginLeft:        3
  180. *XmMenuShell*marginRight:       4
  181. !! spacing between indicator and label should be only 6 in menus
  182. *XmMenuShell*XmToggleButtonGadget*spacing:              2
  183. *XmMenuShell*XmToggleButtonGadget*marginHeight:         0
  184. *XmMenuShell*XmToggleButtonGadget*indicatorSize:        10
  185.  
  186. *XmMenuShell*XmLabelGadget*marginHeight: 4
  187.  
  188. !! spacing between indicator and label should be 8 outside of menus
  189. *XmToggleButtonGadget*spacing:  4
  190. *XmToggleButton*spacing:                4
  191.  
  192. !! spacing between scrollbars and clients should be 2 pixels
  193. *XmScrolledWindow*spacing:              0
  194.  
  195. !! for some bizarre reason, setting the SourceView scrollBar to 20
  196. !! yields 10 pixels across the top of the thumb where the
  197. !! ExpressionView and the CallStack need 18 to get the same thing
  198. *XmScrollBar*width:     18
  199. !! for the CallStack's horizontal scrollBar
  200. *XmScrollBar*height:    18
  201.  
  202. !! sliders should be slightly narrower than scrollbars ->
  203. !! 12 pixels across the trough as opposed to 14
  204. *XmScale*scaleHeight:   20
  205.  
  206. !! in a perfect world, text fields would be the same size as buttons
  207. !! (28 pixels including shadow) but since lucidatypwriter14 is really
  208. !! only 13 pixels, our text fields will be 27 pixels high
  209. *XmText*marginHeight:    4
  210.  
  211. !!
  212. !! Color Mappings
  213. !!
  214.  
  215. *foreground:                            Black
  216. *background:                            #c1c1c1
  217. *XmList*background:                     #999999
  218. *XmPushButton*background:               #adadad
  219. *XmText.background:                     #c19797
  220. *XmTextField.background:                #c19797
  221.  
  222. !! color all dialogs, warnings, and errors the same
  223. *XmSelectionBox*background:             #c1c1c1
  224. *XmSelectionBox*XmText*background:      #c19797
  225. *XmMessageBox*background:               #c1c1c1
  226.  
  227. !! color all radio and toggle buttons when they are selected
  228. *fillOnSelect:          True
  229. *visibleWhenOff:        True
  230. *selectColor:           #ffff00
  231.  
  232. !! highlights for keyboard traversal
  233. *XmText*highlightColor:                 Black
  234. *XmTextField*highlightColor:            Black
  235. *XmPushButton*highlightColor:           Black
  236. *XmText*highlightThickness:             1
  237. *XmTextField*highlightThickness:        1
  238. *XmPushButton*highlightThickness:       1
  239. !! no need for anything else to highlight itself
  240. *highlightThickness:    0
  241.  
  242. !! ??? work around sherwood bug 143077
  243. !! ??? the size of the form is coded right now to make
  244. !! ??? sure the thumbwheels + labels are visible.....
  245. *ViewerClipPlaneForm.width: 300
  246. *ViewerClipPlaneForm.height: 60
  247.  
  248.